package com.xydtech.ecard.merchant.domain;


import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 电子名片企业信息对象 ecard_enterprise_info
 *
 * @author yuzhiguo
 * @date 2024-08-15 上午9:27
 */
public class EcardEnterpriseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业主键ID */
    private Long id;

    /** 企业id */
    private String entId;

    /** 企业名称 */
    @Excel(name = "企业名称", needMerge = true, width = 20)
    private String entName;

    /** 企业简称 */
    @Excel(name = "企业简称", needMerge = true, width = 20)
    private String entAlias;

    /** 企业统一机构编码 */
    @Excel(name = "企业统一机构编码", needMerge = true, width = 20)
    private String entOrgCode;

    /** 企业楼层 */
    @Excel(name = "企业楼层", needMerge = true, width = 20)
    private Integer entLayers;

    /** 法人 */
    @Excel(name = "法人", needMerge = true, width = 20)
    private String entLegalPerson;

    /** 所属行业 */
    private Integer entIndustry;

    /**
     * 所属行业
     */
    @Excel(name = "所属行业", needMerge = true, width = 20)
    private String entIndustryName;

    /** 场所类型 1：楼宇，2：独立厂区 */
    private Integer entLocationType;

    @Excel(name = "场所类型", needMerge = true, width = 20)
    private String entLocationTypeName;

    /** 楼宇名称 */
    @Excel(name = "楼宇名称", needMerge = true, width = 20)
    private String locationName;

    /** 成立日期 */
    @Excel(name = "成立日期", needMerge = true, width = 20)
    private String entEstiblishDate;

    /** 地图地址 */
    @Excel(name = "地图地址", needMerge = true, width = 20)
    private String entMapAddress;

    /** 注册资本 */
    @Excel(name = "注册资本", needMerge = true, width = 20)
    private String entRegCapital;

    /** 坐标 */
    private String entCoordinate;

    /** 经营范围 */
    @Excel(name = "经营范围", needMerge = true, width = 20)
    private String entBusinessScope;

    /** 详细地址 */
    @Excel(name = "详细地址", needMerge = true, width = 20)
    private String entAddress;

    /** 员工数量 */
    @Excel(name = "员工数量", needMerge = true, width = 20)
    private Integer entEmployeesNum;

    /** 企业照片 */
    private String entPic;

    /** 营业执照名称 */
    @Excel(name = "营业执照名称", needMerge = true, width = 20)
    private String entLicenseName;

    /** 经营状态 */
    @Excel(name = "经营状态", needMerge = true, width = 20)
    private String entRegStatus;

    /** 联系方式 */
    @Excel(name = "联系方式", needMerge = true, width = 20)
    private String entPhoneNumber;

    /** 场所表关联id */
    private Long entLocationId;

    /** 营业执照图片 */
    private String entLicensePic;

    /** 企业标签（多条记录逗号隔开） */
    @Excel(name = "企业标签", needMerge = true, width = 20)
    private String entLabel;

    /** 营销重点（多条记录逗号隔开） */
    @Excel(name = "营销重点", needMerge = true, width = 20)
    private String entMarketingFocus;

    /** 业务标签（多条记录逗号隔开） */
    @Excel(name = "业务标签", needMerge = true, width = 20)
    private String entBusinessLabel;

    /** 创建人注册ID */
    private Long creatorId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss", needMerge = true, width = 20)
    private Date creationTime;

    /** 创建人机构id */
    private Long deptId;

    /** 客户层级 */
    private String entLevel;

    /** 客户层级 */
    @Excel(name = "客户层级", needMerge = true, width = 20)
    private String entLevelName;

    /** 管户人id */
    private Long managementPersonnelId;

    /** 状态0停用,1启用 */
    private Integer state;

    /** 状态 */
    @Excel(name = "状态", needMerge = true, width = 20)
    private String stateName;

    /** 客户经理 */
    @Excel(name = "客户经理", needMerge = true, width = 20)
    private String userName;

    /** 机构名称 */
    @Excel(name = "机构名称", needMerge = true, width = 20)
    private String deptName;

    /** 拜访结果 */
    @Excel(name = "拜访结果", needMerge = true, width = 20)
    private String visitSts;

    /** 天眼查结果 */
    @Excel(name = "天眼查结果", needMerge = true, width = 20)
    private String tycsts;

    /**
     * 是否释放
     */
    private String releaseSts;
    /**
     * 用户编号
     */
    private Long userId;

    /** 时间排序 */
    private String sortTime;

    /** 最近拜访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最近拜访时间", format = "yyyy-MM-dd HH:mm:ss", needMerge = true, width = 20)
    private Date maxbftime;
    /** 最大成员建档时间 */
    private Date maxcytime;

    /** 最近拜访照片 */
    private String maxvisitpic;

    /** 字典机构查询条件 */
    private Long dictDeptId;

    /**
     * 成员信息
     */
    @ExcelCollection(name = "成员信息")
    List<EcardMerchantPartInfo> merchantPartDetail;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEntId() {
        return entId;
    }

    public void setEntId(String entId) {
        this.entId = entId;
    }

    public String getEntName() {
        return entName;
    }

    public void setEntName(String entName) {
        this.entName = entName;
    }

    public String getEntAlias() {
        return entAlias;
    }

    public void setEntAlias(String entAlias) {
        this.entAlias = entAlias;
    }

    public String getEntOrgCode() {
        return entOrgCode;
    }

    public void setEntOrgCode(String entOrgCode) {
        this.entOrgCode = entOrgCode;
    }

    public Integer getEntLayers() {
        return entLayers;
    }

    public void setEntLayers(Integer entLayers) {
        this.entLayers = entLayers;
    }

    public String getEntLegalPerson() {
        return entLegalPerson;
    }

    public void setEntLegalPerson(String entLegalPerson) {
        this.entLegalPerson = entLegalPerson;
    }

    public Integer getEntIndustry() {
        return entIndustry;
    }

    public void setEntIndustry(Integer entIndustry) {
        this.entIndustry = entIndustry;
    }

    public String getEntIndustryName() {
        return entIndustryName;
    }

    public void setEntIndustryName(String entIndustryName) {
        this.entIndustryName = entIndustryName;
    }

    public Integer getEntLocationType() {
        return entLocationType;
    }

    public void setEntLocationType(Integer entLocationType) {
        this.entLocationType = entLocationType;
    }

    public String getEntLocationTypeName() {
        return entLocationTypeName;
    }

    public void setEntLocationTypeName(String entLocationTypeName) {
        this.entLocationTypeName = entLocationTypeName;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public String getEntEstiblishDate() {
        return entEstiblishDate;
    }

    public void setEntEstiblishDate(String entEstiblishDate) {
        this.entEstiblishDate = entEstiblishDate;
    }

    public String getEntMapAddress() {
        return entMapAddress;
    }

    public void setEntMapAddress(String entMapAddress) {
        this.entMapAddress = entMapAddress;
    }

    public String getEntRegCapital() {
        return entRegCapital;
    }

    public void setEntRegCapital(String entRegCapital) {
        this.entRegCapital = entRegCapital;
    }

    public String getEntCoordinate() {
        return entCoordinate;
    }

    public void setEntCoordinate(String entCoordinate) {
        this.entCoordinate = entCoordinate;
    }

    public String getEntBusinessScope() {
        return entBusinessScope;
    }

    public void setEntBusinessScope(String entBusinessScope) {
        this.entBusinessScope = entBusinessScope;
    }

    public String getEntAddress() {
        return entAddress;
    }

    public void setEntAddress(String entAddress) {
        this.entAddress = entAddress;
    }

    public Integer getEntEmployeesNum() {
        return entEmployeesNum;
    }

    public void setEntEmployeesNum(Integer entEmployeesNum) {
        this.entEmployeesNum = entEmployeesNum;
    }

    public String getEntPic() {
        return entPic;
    }

    public void setEntPic(String entPic) {
        this.entPic = entPic;
    }

    public String getEntLicenseName() {
        return entLicenseName;
    }

    public void setEntLicenseName(String entLicenseName) {
        this.entLicenseName = entLicenseName;
    }

    public String getEntRegStatus() {
        return entRegStatus;
    }

    public void setEntRegStatus(String entRegStatus) {
        this.entRegStatus = entRegStatus;
    }

    public String getEntPhoneNumber() {
        return entPhoneNumber;
    }

    public void setEntPhoneNumber(String entPhoneNumber) {
        this.entPhoneNumber = entPhoneNumber;
    }

    public Long getEntLocationId() {
        return entLocationId;
    }

    public void setEntLocationId(Long entLocationId) {
        this.entLocationId = entLocationId;
    }

    public String getEntLicensePic() {
        return entLicensePic;
    }

    public void setEntLicensePic(String entLicensePic) {
        this.entLicensePic = entLicensePic;
    }

    public String getEntLabel() {
        return entLabel;
    }

    public void setEntLabel(String entLabel) {
        this.entLabel = entLabel;
    }

    public String getEntMarketingFocus() {
        return entMarketingFocus;
    }

    public void setEntMarketingFocus(String entMarketingFocus) {
        this.entMarketingFocus = entMarketingFocus;
    }

    public String getEntBusinessLabel() {
        return entBusinessLabel;
    }

    public void setEntBusinessLabel(String entBusinessLabel) {
        this.entBusinessLabel = entBusinessLabel;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getEntLevel() {
        return entLevel;
    }

    public void setEntLevel(String entLevel) {
        this.entLevel = entLevel;
    }

    public String getEntLevelName() {
        return entLevelName;
    }

    public void setEntLevelName(String entLevelName) {
        this.entLevelName = entLevelName;
    }

    public Long getManagementPersonnelId() {
        return managementPersonnelId;
    }

    public void setManagementPersonnelId(Long managementPersonnelId) {
        this.managementPersonnelId = managementPersonnelId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getVisitSts() {
        return visitSts;
    }

    public void setVisitSts(String visitSts) {
        this.visitSts = visitSts;
    }

    public String getTycsts() {
        return tycsts;
    }

    public void setTycsts(String tycsts) {
        this.tycsts = tycsts;
    }

    public String getReleaseSts() {
        return releaseSts;
    }

    public void setReleaseSts(String releaseSts) {
        this.releaseSts = releaseSts;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getSortTime() {
        return sortTime;
    }

    public void setSortTime(String sortTime) {
        this.sortTime = sortTime;
    }

    public Date getMaxbftime() {
        return maxbftime;
    }

    public void setMaxbftime(Date maxbftime) {
        this.maxbftime = maxbftime;
    }

    public Date getMaxcytime() {
        return maxcytime;
    }

    public void setMaxcytime(Date maxcytime) {
        this.maxcytime = maxcytime;
    }

    public String getMaxvisitpic() {
        return maxvisitpic;
    }

    public void setMaxvisitpic(String maxvisitpic) {
        this.maxvisitpic = maxvisitpic;
    }

    public List<EcardMerchantPartInfo> getMerchantPartDetail() {
        return merchantPartDetail;
    }

    public void setMerchantPartDetail(List<EcardMerchantPartInfo> merchantPartDetail) {
        this.merchantPartDetail = merchantPartDetail;
    }

    public Long getDictDeptId() {
        return dictDeptId;
    }

    public void setDictDeptId(Long dictDeptId) {
        this.dictDeptId = dictDeptId;
    }

    @Override
    public String toString() {
        return "EcardEnterpriseInfo{" +
                "id=" + id +
                ", entId='" + entId + '\'' +
                ", entName='" + entName + '\'' +
                ", entAlias='" + entAlias + '\'' +
                ", entOrgCode='" + entOrgCode + '\'' +
                ", entLayers=" + entLayers +
                ", entLegalPerson='" + entLegalPerson + '\'' +
                ", entIndustry=" + entIndustry +
                ", entIndustryName=" + entIndustryName +
                ", entLocationType=" + entLocationType +
                ", entLocationTypeName=" + entLocationTypeName +
                ", locationName=" + locationName +
                ", entEstiblishDate=" + entEstiblishDate +
                ", entMapAddress='" + entMapAddress + '\'' +
                ", entRegCapital='" + entRegCapital + '\'' +
                ", entCoordinate='" + entCoordinate + '\'' +
                ", entBusinessScope='" + entBusinessScope + '\'' +
                ", entAddress='" + entAddress + '\'' +
                ", entEmployeesNum=" + entEmployeesNum +
                ", entPic='" + entPic + '\'' +
                ", entLicenseName='" + entLicenseName + '\'' +
                ", entRegStatus='" + entRegStatus + '\'' +
                ", entPhoneNumber='" + entPhoneNumber + '\'' +
                ", entLocationId=" + entLocationId +
                ", entLicensePic='" + entLicensePic + '\'' +
                ", entLabel='" + entLabel + '\'' +
                ", entMarketingFocus='" + entMarketingFocus + '\'' +
                ", entBusinessLabel='" + entBusinessLabel + '\'' +
                ", creatorId=" + creatorId +
                ", creationTime=" + creationTime +
                ", deptId=" + deptId +
                ", entLevel='" + entLevel + '\'' +
                ", entLevelName='" + entLevelName + '\'' +
                ", managementPersonnelId=" + managementPersonnelId +
                ", state=" + state +
                ", stateName='" + stateName + '\'' +
                ", userName='" + userName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", visitSts='" + visitSts + '\'' +
                ", tycsts='" + tycsts + '\'' +
                ", releaseSts='" + releaseSts + '\'' +
                ", userId=" + userId +
                ", sortTime='" + sortTime + '\'' +
                ", maxbftime=" + maxbftime +
                ", maxcytime=" + maxcytime +
                ", maxvisitpic='" + maxvisitpic + '\'' +
                ", dictDeptId='" + dictDeptId + '\'' +
                ", merchantPartDetail=" + merchantPartDetail +
                '}';
    }
}
